package CheckBox;

import java.util.Iterator;
import java.util.TreeSet;

import DataLayer.DaoAccount;
import Model.Account;
import Model.Accounts;

public class TreeSetExample {
  public static void main(String[] args) {
    TreeSet<Account> tSet = DaoAccount.getInstance().loadAccounts();
    
    Iterator itr = tSet.iterator();

    while (itr.hasNext()){
      System.out.println(itr.next());
    }
  }
}